From: Florian Müllner Date: Sat, 4 Apr 2020 00:00:35 +0000 (+0200) Subject: keyboard: Minor cleanup X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~444 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2b7015179418be402853633f79a06f12181421ad;p=gnome-shell.git keyboard: Minor cleanup Use the more concise operator shorthand. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1177 --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 7ce866802..4af2b18c4 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -722,7 +722,7 @@ var EmojiPager = GObject.registerClass({ _onPan(action) { let [dist_, dx, dy_] = action.get_motion_delta(0); - this.delta = this.delta + dx; + this.delta += dx; if (this._currentKey != null) { this._currentKey.cancel();